<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:imageslider="http://java.sun.com/jsf/composite/imageslider">

<body>
	<f:view>
		<ui:composition template="template/template.xhtml">
			<ui:define name="titel">
				Startseite
			</ui:define>
			<ui:define name="content">
				<!-- Add fancyBox -->
				<link rel="stylesheet" href="resources/slider/source/css/style.css"
					type="text/css" />
				<script type="text/javascript">
					function link(url) {
						window.open(url, '_self', false)
					}
				</script>
				<h:form id="mainForm">
					#{galerieController.update()}
					#{galerieController.fuelleNews()}
						
					<imageslider:imageslider images="#{switcherBean.neueBilder}" />
				</h:form>
			</ui:define>
		</ui:composition>
	</f:view>
</body>
</html>